package fr.alesia.deepstack.data;

import java.util.Set;
import java.util.SortedSet;

import com.google.appengine.api.users.User;

import fr.alesia.deepstack.bean.Player;

public interface PlayerDao extends DataAccessObject{

	Player find(String id);
	Player findByName(String name);
	Set<Player> findByUser(User user);
	SortedSet<Player> findAll();
	
	void insert(Player player);
	void update(Player player);
	void delete(Player player);
}
